package model

type Apply struct {
	ID           uint64 `json:"id" gorm:"primarykey"`
	Title        string `json:"title"`
	Image        string `json:"image"`
	Content      string `json:"content"`
	Mast         string `json:"mast"`
	Personal     string `json:"personal"`
	Questiona    string `json:"questiona"`
	Placeholdera string `json:"placeholdera"`
	Questionb    string `json:"questionb"`
	Placeholderb string `json:"placeholderb"`
	ModelId      uint64 `json:"model_id"` //类型ID
	Subtitle     string `json:"subtitle"` //副标题
}

func (Apply) TableName() string {
	return "applys"
}

// Path: pkg/model/apply.go
